package com.jzo2o.foundations.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.common.model.PageResult;
import com.jzo2o.foundations.model.dto.request.ServePageQueryReqDTO;
import com.jzo2o.foundations.model.dto.request.ServeUpsertReqDTO;
import com.jzo2o.foundations.model.dto.response.RegionResDTO;
import com.jzo2o.foundations.model.dto.response.ServeResDTO;

import java.util.List;

/**
 * @author 赵超
 */
public interface IRegionServiceService {
    PageResult<ServeResDTO> page(ServePageQueryReqDTO dto);

    void batchAdd(List<ServeUpsertReqDTO> serveUpsertReqDTOList);

    void delete(Long id);

    void updatePrice(Long id, Double price);

    void updateOnHot(Long id);

    void updateOnSale(Long id);
}
